﻿CREATE PROCEDURE [dbo].[yaf_attachment_download](
                @AttachmentID INT)
AS
    BEGIN
        UPDATE yaf_Attachment
        SET    Downloads = Downloads + 1
        WHERE  AttachmentID = @AttachmentID
    END


